package com.seveneight.baijiesteward.ui.main.contract;

import android.content.Context;

import com.seveneight.baijiesteward.bean.PayBackRecordBean;
import com.seveneight.baijiesteward.http.MyCallBack;

import java.util.List;

import okhttp3.RequestBody;

/**
 * Created by user1 on 2018/3/29.
 */

public interface GetOrderListContract {
    interface GetorderListView {
        void rebackOrderData(List<PayBackRecordBean> data);
    }

    interface GetOrderListModel {
        void getOrderData(Context context, RequestBody body, MyCallBack<List<PayBackRecordBean>> myCallBack);
    }

    interface GetOrderListPresenter {
        void getOrderData(Context context,RequestBody body);
    }
}
